<?php
  if (class_exists('PDO')) {
    $drivers = PDO::getAvailableDrivers();
    if(in_array('cubrid', $drivers)) {
      //PDO ok
    } else {
      echo "Error: PDO is not detected!" . "<br />";
      echo "Please check your instalation (PHP PDO)." . "<br />";      
      die;
    }
  } else {
    echo "Error: CUBRID PDO Driver is not detected!" . "<br />";
    echo "Please check your instalation (CUBRID PDO Driver)." . "<br />";      
    die;
  }
?>
